// -----------------------------
// Author: 		Dhaenens Gert 
// Creation: 	10/18/2014 5:57:18 PM				
// -----------------------------

#ifndef _RefObject_h
#define _RefObject_h

#include "Common.h"

class RefObject
{
public:
	RefObject();
	virtual ~RefObject();

	void	AddRef();
	void	Release();

	Int32	GetRefCount() const;
	Bool	IsReferenced() const;

private:
	Int32	m_RefCount;

	RefObject(const RefObject& refRefObject);
	RefObject& operator=(const RefObject& refRefObject);
};

#endif